<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title></title>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
	<meta name="decorator" content="ani-layui"/>

</head>
<body>
<div class="layui-tab layui-tab-card" style="width: 95%;margin:0 auto;">
	<ul class="layui-tab-title" style="background-color:#299cf5;">
		<li class="layui-this">房屋信息
		</li>
		<li class="" >车位信息
		</li>

	</ul>
	<div class="layui-tab-content" >
		<div id="tab-1" class="layui-tab-item layui-show"  style=" height:500px;">
				<iframe class="" name="iframe0" width="100%" height="100%" src="${ctx}/ipmp/houseinfo/ipmpHouseinfo?buildingid=${buildingid}" frameborder="0" ></iframe>
		</div>

		<div id="tab-2" class="layui-tab-item" style="height:500px;">
				<iframe class="" name="iframe1" width="100%" height="100%" src="${ctx}/ipmp/carinfo/ipmpCarinfo?build.id=${buildingid}" frameborder="0"  ></iframe>
		</div>
	</div>
</div>
<script>
    layui.use('element', function(){
        var $ = layui.jquery
            ,element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块

        //触发事件
        var active = {
            tabChange: function(){
                //切换到指定Tab项
                element.tabChange('demo', '22'); //切换到：用户管理
            }
        };





    });
</script>
</body>
</html>